package com.yl.auth.mapper;

import com.yl.auth.model.entity.Bumen;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.auth.model.vo.BumenVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-06-15
 */
public interface BumenMapper extends BaseMapper<Bumen> {

    @Insert("insert into bumen(name,create_time) VALUES(#{bumen.name},now())")
    void addChilren(@Param("bumen") Bumen bumen);
}
